﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace TD
{
    /// <summary>
    /// 防御塔
    /// </summary>
    public class Stockade
    {
        /// <summary>
        /// 攻击能力
        /// </summary>
        public Attack Attack;


        /// <summary>
        /// 射程
        /// </summary>
        public float Range;


        /// <summary>
        /// 攻击间隔 毫秒
        /// </summary>
        public float AttackInterval;


        public Vector2 Vector;

        public List<Vector2> AttackPointList = new List<Vector2>();

        public float timeSinceLastFrame = 0;
    }

}